<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<link href="style.css" rel="stylesheet" type="text/css" >

<body class="body" >
	<logic:present name="auth" scope="session">
	
		<html:form action="/adminCityUpdate" method="POST">
					<table border='1' class="admincityupdate">
						<tr align="center" style="font-weight: bold; ">
							<td width="50" ><bean:message key="label.id" /></td>
							<td width="150" ><bean:message key="label.city" /></td>
							
						</tr>
								<c:forEach var="citys" items="${citys}">
						<tr>		
							<td >
								<html:checkbox property="id_city" value="${citys.id_city}"></html:checkbox>
								 ${citys.id_city}
										</td>
							<td ><b> - ${citys.name_city} 
										</b></td>
													
						</tr>
								</c:forEach>
							
						
						</table>
						<input type="submit" style="font-size: 20px" size="20" value="Show" >
						<input type="submit" style="font-size: 20px" size="20" name="Updat" value="Updat" >
						<input type="submit" style="font-size: 20px" size="20" name="Delete" value="Delete" >
						</br>
						<input type="text" style="font-size: 20px" size="20" name="add_name_city" >
						<input type="submit" style="font-size: 20px" size="20" name="Add" value="Add" >
						
				</html:form>
		</logic:present>
	</body>